package org.ace.event.model;

import org.springframework.context.ApplicationEvent;

public class PlayerEvent extends ApplicationEvent {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer userId;
	private Integer value;
	private Integer type;
	
	public PlayerEvent (Object source)
	{
		super (source);
	}
	
	public PlayerEvent (Object source ,Integer userId, Integer value,Integer type)
	{
		super(source);
		this.userId=userId;
		this.value = value;
		this.type = type;
	}
	
	public Integer getType()
	{
		return type;
	}
	public void setType(Integer type)
	{
		this.type =type;
	}
	
	public Integer getValue()
	{
		return value;
	}
	public void setValue(Integer value)
	{
		this.value =value;
	}
	
	public Integer getUserId()
	{
		return userId;
	}
	public void setUserId(Integer userId)
	{
		this.userId =userId;
	}
}

